﻿/*
 ***************************************************************************
 * Microsoft Visual C# .NET
 * 名称：       Shpm.App.Commons.Db.Beans.Inp.InpSaleProcBean
 * 类型：       Bean
 * 功能说明：   
 * 作者：       黄鑫
 * 创建日期：   2007/08/27
 * 修改日期：   2007/10/08     
 * 修改者：     黄鑫
 * 修改内容：   新增FAMILY系列4个字段,副客户、陪住人系列6个字段
 * 
 * 
 * ---
 ***************************************************************************
*/
using System;
using Shpm.System.Db;

namespace Shpm.App.Commons.Db.Beans.Inp
{
    [Serializable()]
    public class InpSaleProcBean : ShpmBaseBean
    {
        private Nullable<int> saleProcId;
        private Nullable<int> personId;
        private Nullable<int> rightPersonId;
        private Nullable<int> organizationId;
        private string employeeId;
        private string memberNo;
        private Nullable<int> templateId;
        private Nullable<int> physicalId;
        private Nullable<int> contractId;
        private string auditingId;
        private string auditing;
        private Nullable<int> currentStep;
        private string memo;
        private Boolean cancelFlg;
        private string relationName;
        private string relationSex;
        private string relationTelephone;
        private string relationHandset;
        private string relationFax;
        private string relationAddress;
        private string relationEmail;
        private string relationIntent;
        private string relationType;
        private string relationSource;
        private Nullable<int> relationAge;
        private string relationMemo;
        private string saleVisitingType;
        private string apartmentNo;
        private string rightMemo;

        private Nullable<DateTime> intentDate;

        private Nullable<DateTime> registerDate;	//入会登记日
        private Nullable<DateTime> physicalDate;	//体检报告日
        private Nullable<DateTime> auditingDate;	//审核日期

        /** 2007/10/08 huangxin add */
        private string familyTrait;                         //特点(家庭)
        private string familyParticularity;                 //特殊要求(家庭)
        private string familyPet;                           //宠物(家庭)
        private string familyMemo;                          //备注(家庭)
        private Nullable<int> secondaryPersonId;            //副客户编号
        private Nullable<int> accompanyPersonId;            //陪住人编号
        private Nullable<int> secondaryPhysicalId;          //副客户健康报告编号
        private Nullable<int> accompanyPhysicalId;          //陪住人健康报告编号
        private Nullable<DateTime> secondaryPhysicalDate;   //副客户健康报告日期
        private Nullable<DateTime> accompanyPhysicalDate;   //陪住人健康报告日期
        /**add end */

        private Nullable<bool> auditingFlg; // 允许审核标记

        public InpSaleProcBean()
        {
        }

        public Nullable<bool> AuditingFlg
        {
            get
            {
                return auditingFlg;
            }
            set
            {
                auditingFlg = value;
            }
        }

        /**销售过程编号*/
        public Nullable<int> SaleProcId
        {
            get
            {
                return saleProcId;
            }
            set
            {
                saleProcId = value;
            }
        }

        /**人员编号*/
        public Nullable<int> PersonId
        {
            get
            {
                return personId;
            }
            set
            {
                personId = value;
            }
        }
        public Nullable<int> RightPersonId
        {
            get
            {
                return rightPersonId;
            }
            set
            {
                rightPersonId = value;
            }
        }
        public Nullable<int> OrganizationId
        {
            get
            {
                return organizationId;
            }
            set
            {
                organizationId = value;
            }
        }
        /**员工编号*/
        public string EmployeeId
        {
            get
            {
                return employeeId;
            }
            set
            {
                employeeId = value;
            }
        }

        /**会员编号*/
        public string MemberNo
        {
            get
            {
                return memberNo;
            }
            set
            {
                memberNo = value;
            }
        }

        /**模板编号*/
        public Nullable<int> TemplateId
        {
            get
            {
                return templateId;
            }
            set
            {
                templateId = value;
            }
        }

        /**健康报告编号*/
        public Nullable<int> PhysicalId
        {
            get
            {
                return physicalId;
            }
            set
            {
                physicalId = value;
            }
        }

        /**合同编号*/
        public Nullable<int> ContractId
        {
            get
            {
                return contractId;
            }
            set
            {
                contractId = value;
            }
        }

        /**审核人员*/
        public string AuditingId
        {
            get
            {
                return auditingId;
            }
            set
            {
                auditingId = value;
            }
        }

        /**审核意见*/
        public string Auditing
        {
            get
            {
                return auditing;
            }
            set
            {
                auditing = value;
            }
        }

        /**当前步骤*/
        public Nullable<int> CurrentStep
        {
            get
            {
                return currentStep;
            }
            set
            {
                currentStep = value;
            }
        }

        /**备注*/
        public string Memo
        {
            get
            {
                return memo;
            }
            set
            {
                memo = value;
            }
        }

        /**结束标志*/
        public Boolean CancelFlg
        {
            get
            {
                return cancelFlg;
            }
            set
            {
                cancelFlg = value;
            }
        }

        /**联系人姓名*/
        public string RelationName
        {
            get
            {
                return relationName;
            }
            set
            {
                relationName = value;
            }
        }

        /**联系人性别*/
        public string RelationSex
        {
            get
            {
                return relationSex;
            }
            set
            {
                relationSex = value;
            }
        }

        /**联系人电话*/
        public string RelationTelephone
        {
            get
            {
                return relationTelephone;
            }
            set
            {
                relationTelephone = value;
            }
        }

        /**联系人手机*/
        public string RelationHandset
        {
            get
            {
                return relationHandset;
            }
            set
            {
                relationHandset = value;
            }
        }

        /**联系人传真*/
        public string RelationFax
        {
            get
            {
                return relationFax;
            }
            set
            {
                relationFax = value;
            }
        }

        /**联系人地址*/
        public string RelationAddress
        {
            get
            {
                return relationAddress;
            }
            set
            {
                relationAddress = value;
            }
        }

        /**联系人邮件*/
        public string RelationEmail
        {
            get
            {
                return relationEmail;
            }
            set
            {
                relationEmail = value;
            }
        }

        /**联系人意向*/
        public string RelationIntent
        {
            get
            {
                return relationIntent;
            }
            set
            {
                relationIntent = value;
            }
        }

        /**联系人购买卡类型*/
        public string RelationType
        {
            get
            {
                return relationType;
            }
            set
            {
                relationType = value;
            }
        }

        public string RelationSource
        {
            get
            {
                return relationSource;
            }
            set
            {
                relationSource = value;
            }
        }


        /**联系人年龄*/
        public Nullable<int> RelationAge
        {
            get
            {
                return relationAge;
            }
            set
            {
                relationAge = value;
            }
        }

        /**联系人备注*/
        public string RelationMemo
        {
            get
            {
                return relationMemo;
            }
            set
            {
                relationMemo = value;
            }
        }

        /**房间编号*/
        public string ApartmentNo
        {
            get
            {
                return apartmentNo;
            }
            set
            {
                apartmentNo = value;
            }
        }

        public Nullable<DateTime> IntentDate
        {
            get
            {
                return intentDate;
            }
            set
            {
                intentDate = value;
            }
        }

        //入会登记日
        public Nullable<DateTime> RegisterDate
        {
            get
            {
                return registerDate;
            }
            set
            {
                registerDate = value;
            }
        }

        //体检报告日
        public Nullable<DateTime> PhysicalDate
        {
            get
            {
                return physicalDate;
            }
            set
            {
                physicalDate = value;
            }
        }

        //审核日期
        public Nullable<DateTime> AuditingDate
        {
            get
            {
                return auditingDate;
            }
            set
            {
                auditingDate = value;
            }
        }

        /** 2007/10/08 huangxin add */
        /**特点(家庭)*/
        public string FamilyTrait
        {
            get
            {
                return familyTrait;
            }
            set
            {
                familyTrait = value;
            }
        }
        /**特殊要求(家庭)*/
        public string FamilyParticularity
        {
            get
            {
                return familyParticularity;
            }
            set
            {
                familyParticularity = value;
            }
        }
        /**宠物(家庭)*/
        public string FamilyPet
        {
            get
            {
                return familyPet;
            }
            set
            {
                familyPet = value;
            }
        }
        /**备注(家庭)*/
        public string FamilyMemo
        {
            get
            {
                return familyMemo;
            }
            set
            {
                familyMemo = value;
            }
        }
        /**副客户编号*/
        public Nullable<int> SecondaryPersonId
        {
            get
            {
                return secondaryPersonId;
            }
            set
            {
                secondaryPersonId = value;
            }
        }
        /**陪住人编号*/
        public Nullable<int> AccompanyPersonId
        {
            get
            {
                return accompanyPersonId;
            }
            set
            {
                accompanyPersonId = value;
            }
        }
        /**副客户健康报告编号*/
        public Nullable<int> SecondaryPhysicalId
        {
            get
            {
                return secondaryPhysicalId;
            }
            set
            {
                secondaryPhysicalId = value;
            }
        }
        /**陪住人健康报告编号*/
        public Nullable<int> AccompanyPhysicalId
        {
            get
            {
                return accompanyPhysicalId;
            }
            set
            {
                accompanyPhysicalId = value;
            }
        }
        /**副客户健康报告日期*/
        public Nullable<DateTime> SecondaryPhysicalDate
        {
            get
            {
                return secondaryPhysicalDate;
            }
            set
            {
                secondaryPhysicalDate = value;
            }
        }
        /**陪住人健康报告日期*/
        public Nullable<DateTime> AccompanyPhysicalDate
        {
            get
            {
                return accompanyPhysicalDate;
            }
            set
            {
                accompanyPhysicalDate = value;
            }
        }
        /**联系方式*/
        public string SaleVisitingType
        {
            get
            {
                return saleVisitingType;
            }
            set
            {
                saleVisitingType = value;
            }
        }
        
        /**add end */

        /**权益人备注*/
        public string RightMemo
        {
            get
            {
                return rightMemo;
            }
            set
            {
                rightMemo = value;
            }
        }

    }

}